package com.neu.his.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neu.his.entity.DiagRecords;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DiagRecordMapper extends BaseMapper<DiagRecords> {
    //获取id-Diag的患者信息，id=-1获取全部
    public List<DiagRecords> getDiagPatient(Long id);

    //获取id-diag的药品分配信息
    public List<DiagRecords> getDiagDrug(Long id);

    //获取id-diag的非药品信息
    public List<DiagRecords> getDiagNonDrug(Long id);
}
